@layout("/common/_container.html",{js:["/assets/modular/system/attendAuditBtyArea/attendAuditBtyArea.js"],css:["/assets/common/css/beautiful.css"]}){
<div class="layui-body-header">
    <span class="layui-body-header-title">月度考勤信息统计</span>
</div>
<style>
    .statics{
        font-weight: 600;
        font-size: 14px;
    }
    .searchbox{
        margin-top: 10px;
    }
    .staticval{
        color: #F59A23;
        margin-right: 3px;
    }
</style>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <!--                            <div class="layui-inline">-->
                            <!--                                <div class="layui-input-block"  style="margin-left: 0px;">-->
                            <!--                                    <div id="newShopSumValue"></div>-->
                            <!--                                    <div id="sumValue"></div>-->
                            <!--                                    <div id="sumNnfinishedValue"></div>-->
                            <!--                                </div>-->
                            <!--                            </div>-->
                            <div class="layui-row statics">
                                <div class="layui-col-xs6 layui-col-sm6 layui-col-md3">
                                    <div class="grid-demo grid-demo-bg1">考勤月份：<span id="BtyAreaAttendMonth" class="staticval"></span>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-row statics">
                                <div class="layui-col-xs6 layui-col-sm6 layui-col-md3">
                                    <div class="grid-demo grid-demo-bg1">总门店：<span id="BtyAreaAll" class="staticval"></span>家</div>
                                </div>
                                <div class="layui-col-xs6 layui-col-sm6 layui-col-md3">
                                    <div class="grid-demo grid-demo-bg1">已完成考勤门店：<span id="BtyAreaSubmitThrough" class="staticval"></span>家
                                    </div>
                                </div>
                                <div class="layui-col-xs6 layui-col-sm6 layui-col-md3">
                                    <div class="grid-demo grid-demo-bg1">未完成考勤门店：<span id="BtyAreaNotThrough" class="staticval"></span>家
                                    </div>
                                </div>
                                <div class="layui-col-xs6 layui-col-sm6 layui-col-md3">
                                    <div class="grid-demo grid-demo-bg1"></div>
                                </div>
                            </div>
                            <div class="layui-row statics">

                                <div class="layui-col-xs6 layui-col-sm6 layui-col-md3">
                                    <div class="grid-demo grid-demo-bg1">未创建考勤门店：<span
                                            id="BtyAreaNotCreate" class="staticval"></span><span>家(含未指定店长：<span
                                                id="BtyAreaNotKqdz" class="staticval"></span>)</span></span></div>
                                </div>
                                <div class="layui-col-xs6 layui-col-sm6 layui-col-md3">
                                    <div class="grid-demo grid-demo-bg1">店长未提交：<span id="BtyAreaNotSubmit" class="staticval"></span>家</div>
                                </div>
                                <div class="layui-col-xs6 layui-col-sm6 layui-col-md3">
                                    <div class="grid-demo grid-demo-bg1">督导未审核：<span id="BtyAreaSubmitAudit" class="staticval"></span>家
                                    </div>
                                </div>
                                <div class="layui-col-xs6 layui-col-sm6 layui-col-md3">
                                    <div class="grid-demo grid-demo-bg1">驳回后未提交：<span id="BtyAreaSubmitBack" class="staticval"></span>家
                                    </div>
                                </div>
                            </div>
                        </div>
                        <!-- <div class="layui-form-item">
                            <div class="layui-inline">
                                <button id="btnWarning" class="layui-btn icon-btn"><i
                                        class="layui-icon">&#xe67d;</i>可能影响本月考勤的一些信息提示</button>
                                <button id="synchronousAttendEmployeeMonthToBtyArchives" class="layui-btn icon-btn"><i
                                        class="layui-icon">&#xe67d;</i>同步月度考勤信息到人员档案表</button>
                            </div>
                        </div> -->
                        <div class="layui-form-item searchbox">
                            <div class="layui-inline">
                                <label class="layui-form-label">店名</label>
                                <div class="layui-input-inline">
                                    <input id="dm" class="layui-input" type="text" placeholder="请输入店名"
                                        autocomplete="off" />
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">店长姓名</label>
                                <div class="layui-input-inline">
                                    <input id="kqDz" class="layui-input" type="text" placeholder="请输入考勤店长姓名"
                                        autocomplete="off" />
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">手机号</label>
                                <div class="layui-input-inline">
                                    <input id="kqDh" class="layui-input" type="text" placeholder="请输入考勤店长手机号"
                                        autocomplete="off" />
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">督导姓名</label>
                                <div class="layui-input-inline">
                                    <input id="dd" class="layui-input" type="text" placeholder="请输入督导姓名"
                                        autocomplete="off" />
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">手机号</label>
                                <div class="layui-input-inline">
                                    <input id="ddSupervisorPhone" class="layui-input" type="text" placeholder="请输入督导手机号"
                                        autocomplete="off" />
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">营运经理</label>
                                <div class="layui-input-inline">
                                    <select id="yyjl" name="yyjl" placeholder="请选择营运经理">
                                        <option value=''>全部营运经理</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">状态</label>
                                <div class="layui-input-inline">
                                    <select id="auditStatus" name="auditStatus" placeholder="请选择状态">
                                        <option value="">全部状态</option>
                                        <option value="6">未指定店长(需要督导操作)</option>
                                        <option value="5">未创建考勤(需要店长操作)</option>
                                        <option value="0">未提交(需要店长操作)</option>
                                        <option value="1">督导待审核(需要督导操作)</option>
                                        <option value="2">审核通过</option>
                                        <option value="3">审核驳回(需要店长操作)</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline ">
                                <label class="layui-form-label">月份</label>
                                <div class="layui-input-inline">
                                    <input id="month" class="layui-input" type="text" autocomplete="off" />
                                    <input hidden id="latest">
                                    <input hidden id="day">
                                </div>
                            </div>
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn layui-btn-sm icon-btn"><i
                                        class="layui-icon">&#xe615;</i>搜索</button>
                                <button id="btnReset" type="button" class="layui-btn layui-btn-primary layui-btn-sm icon-btn reset marrig">重置</button>
                                <button id="btnExp" class="layui-btn layui-btn-sm icon-btn"><i
                                        class="layui-icon">&#xe67d;</i>导出</button>

                            </div>
                        </div>
                        <div class="layui-form-item searchbox">
                            <div class="layui-inline">
                                <button id="btnExp" class="layui-btn layui-btn-sm icon-btn"><i
                                        class="layui-icon">&#xe67d;</i>导出</button>
                                <button id="btnWarning" 
                                class="layui-btn layui-btn-sm icon-btn"><i class="layui-icon">&#xe67d;</i>影响考勤提示</button>
                                <button id="synchronousAttendEmployeeMonthToBtyArchives" 
                                class="layui-btn layui-btn-sm icon-btn"><i class="layui-icon">&#xe67d;</i>同步档案表</button>
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" style="margin-top: 10px;" id="attendAuditBtyAreaTable" lay-filter="attendAuditBtyAreaTable">
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/html" id="tableBar">
    <!--<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>-->
<!--<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>-->
{{# if(buttonValid){ }}
<!--<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="editDz">强制更换店长</a>-->
{{# if(d.auditStatus == "2" && d.attendMonth == attendMonthValid && d.attendMonth == synchronousMonth){ }}
<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="auditStatusToSubmitAudit">驳回到督导审核</a>
{{# } }}
{{# } }}
</script>
<script type="text/html" id="auditStatusTmp">
    {{#  if(d.auditStatus == "3"){ }}
    审核驳回
    {{#  }else if(d.auditStatus == "2"){ }}
    审核通过
    {{#  }else if(d.auditStatus == "1"){ }}
    待审核
    {{#  }else if(d.auditStatus == "0"){ }}
    未提交
    {{#  }else{ }}
    未创建
    {{#  } }}
</script>
@}